package com.oa.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.server.entity.Department;
import com.oa.server.result.ResponseBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mcy
 * @since 2021-06-01
 */
public interface IDepartmentService extends IService<Department> {

    List<Department> getAllDepartments();

    ResponseBean addDepartment(Department department);

    ResponseBean deleteDepartment(Integer depId);
}
